home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Scheduling / Cassandra / Source / Overview.h < prev    next >
Encoding:
Text File  |  1990-12-10  |  2.0 KB  |  66 lines

  1. //
  2. // Overview.h
  3. // Copyright (c) 1988, 1989, 1990 by Jiro Nakamura 
  4. // All rights reserved
  5. //
  6. // Handles the Overview window for Cassandra
  7. // This shows the current time, shows some month calendars (which can
  8. // show any month the user wants), and lists the whole queue (except
  9. // invisible ones).
  10. //
  11. // RCS Information
  12. // Revision Number->    $Revision: 3.3 $
  13. // Last Revised->    $Date: 90/12/03 01:56:23 $
  14. //
  15.  
  16. #import <appkit/Window.h>
  17. #import <appkit/Text.h>
  18. #import <appkit/PopUpList.h>
  19. #import <dpsclient/dpsclient.h>  // For DPSTimedEntry, used below
  20.  
  21. @interface Overview:Window
  22. {
  23.     BOOL showSeconds, militaryTime;        // Do we show seconds
  24.                         // and use military time?
  25.     int lowPriority;    // Lowest priority for display
  26.     int monthNow;        // What Overview thinks the current month
  27.     int yearNow;        // and year are
  28.     Text *eventText;    // docView of the scrolling area
  29.     
  30.     int    priorityCutOff;
  31.     
  32.     id global;        // IB variables. Accessor to Global object
  33.     id eventScroll;        // Scrolling area
  34.  
  35.     id dateForm;        // The data area
  36.     id lastMonthText;    // The Text view for the previous month
  37.     id nextMonthText;    // The Text view for the next month
  38.     id thisMonthText;    // The Text view for this month
  39.     
  40.     PopUpList    *viewPopUp;
  41.     id    viewPopUpButton;
  42. }
  43.  
  44. + new;                // Create ourself and set default values
  45. - free;                // Free ourself and all objects created
  46. - open: sender;            // Display ourself and set up screen
  47.  
  48. - windowDidUpdate:sender;    // Update ourselve
  49. - windowWillResize: (id) sender toSize: (NXSize *) size;    // Window
  50.                 // is resizing, check constraints
  51.  
  52. - defaultsDidChange: sender;    // Our display defaults changed, check
  53.                 // to see if we need to update our display
  54. - queueDidChange: sender;    // The queue changed. Update the display
  55.  
  56. - viewPopUpChanged:sender;
  57.  
  58. - timeUpdate:sender;        // Updates the time  display
  59. - listUpdate: sender;        // Updates the queue display
  60. - monthUpdate: sender;        // Updates the months
  61.  
  62. - monthRedraw;            // Redraw the months
  63. - monthPrevious: sender;    // Advance the months one
  64. - monthNext: sender;        // Go back one month
  65. @end
  66.